#ifndef APPENGINE_H
#define APPENGINE_H

#include <QCoreApplication>
#include <QDebug>
#include <QMutex>
#include <QObject>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <QSettings>

class AppEngine : public QQmlApplicationEngine
{
    Q_OBJECT

public:
    static AppEngine *getInstance();

private:
    AppEngine(QObject *parent = nullptr);
    ~AppEngine();
    AppEngine(const AppEngine &) = delete;
    AppEngine &operator=(const AppEngine) = delete;

    static AppEngine *m_instance;
    static QMutex m_mutex;

signals:
};

#endif // APPENGINE_H
